package navigation.wzg.com.navigation.db;

/**
 * Created by WZG on 2017/10/2.
 */

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class Diary {
    @Id(autoincrement = true)
    private Long id;
    private String time;
    private String title;
    private String matter;
    public String getMatter() {
        return this.matter;
    }
    public void setMatter(String matter) {
        this.matter = matter;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getTime() {
        return this.time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    @Generated(hash = 815720944)
    public Diary(Long id, String time, String title, String matter) {
        this.id = id;
        this.time = time;
        this.title = title;
        this.matter = matter;
    }
    @Generated(hash = 112123061)
    public Diary() {
    }

}
